Espressif Systems /ESP32-S3 /MCPWM0 /CAP_CH2_CFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CAP_CH2_CFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CAP2_EN)CAP2_EN 0CAP2_MODE 0CAP2_PRESCALE0 (CAP2_IN_INVERT)CAP2_IN_INVERT 0 (CAP2_SW)CAP2_SW

Description

Capture channel 2 configuration and enable

Fields

CAP2_EN

When set, capture on channel 2 is enabled

CAP2_MODE

Edge of capture on channel 2 after prescaling. When bit0 is set to 1: enable capture on the negative edge, When bit1 is set to 1: enable capture on the positive edge.

CAP2_PRESCALE

Value of prescaling on possitive edge of CAP2. Prescale value = PWM_CAP2_PRESCALE + 1

CAP2_IN_INVERT

when set, CAP2 form GPIO matrix is inverted before prescale

CAP2_SW

Write 1 will trigger a software forced capture on channel 2

Links

() ()